<div class="header">
	{include file="top_box"}
	<div class="general main">
		<li class="logo s-logo">
			<a href="{:sysconf('site_domain')}/"></a>
		</li>
		<li class="top_sinfo">
			<p class='u_t_i'>{if($shop.company == 1)}<div class='icons company-icon license-info' title="点击查看店铺营业执照" data-id="{$shop.id}"></div>{/if}<strong>{$shop.name}</strong>{$shop.xy}</p>
			<p>
				<a class="toggle_center">
					<span style='color:#cccccc;padding-left:0'>[</span>服务：<em>5.00</em><span>|</span>效率：<em>5.00</em><span>|</span>质量：<em>5.00</em> <span style='color:#cccccc'>]</span>
				</a>
			</p>
			<ul class="rev_pop" style="display:none;">
				<table class='pop_pf'>
					<thead>
						<tr>
							<th style="width: 60%;text-align:left">店铺综合评分(6次)</th>
							<th>与同行相比</th>
						</tr>
					</thead>
					<tbody>
						<tr><td>服务态度： 5.00</td><td><i>高于</i> <span>2.40%</span></td></tr>
						<tr><td>工作效率： 5.00</td><td><i>高于</i> <span>2.40%</span></td></tr>
						<tr><td>完成质量： 5.00</td><td><i>高于</i> <span>2.40%</span></td></tr>
					</tbody>
				</table>
				<table class='pop_info' style='width:200px;'>
					<thead>
						<tr>
							<th>&nbsp;</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td  style="width: 35%;">
								开店时间：{:xssj($shop.sj,'Y-m-d')}</td>
						</tr>
						<tr>
							<td>
								宝贝数量：9 个
							</td>
						</tr>
						<tr>
							<td class="certification">商家认证：
								{$shop.certification}
							</td>
						</tr>
					</tbody>
				</table>
				<div class="t_p_bottom">
					<a href="{:sysconf('site_domain')}/ishop{$shop.id}/">商家店铺》</a>
				</div>
			</ul>
		</li>
				{if($shop.bond_state == 0)}
				<li href='javascript:void(0);' class='shead_tips shead_bond'><i class='iconfont'>&#xe698;</i>该店铺当前尚未缴纳保证金<br>若交易退款无额外消保赔付</li>{/if}
				<li class="search Search-box s">
			<span class="searchtype">
				<cite>{$search.name}&nbsp;&nbsp;</cite>
				<em class="arrow"></em>
				<ul class="searchlist"> 
				{foreach $search.type as $v}
				<li data-link="/{$v.type}/" {if strname($v.type)||$search.name==$v.name}class="cur"{/if}>{$v.name}&nbsp;&nbsp;</li>{/foreach}
				</ul>
			</span>
			<input name="" class="searchval Search-inp" type="text" placeholder='' x-webkit-speech x-webkit-grammar="bUIltin:search"/>
			<a class="searchbtn Search-btn" />
			搜 索
			</a>
		</li>
	</div>
	{if(!empty($shop.bannar) or $shop.bg_type != 'no')}
		{if(!empty($shop.bannar))}
		<style type="text/css">.shop_banner .main{background:url('{$shop.bannar}') center no-repeat;}</style>
		{/if}
		{if($shop.bg_type != 'no')}
		<style type="text/css">.shop_banner{background:#{$shop.bg_color_input};}</style>
		{/if}
	{/if}
	<div class="shop_banner b_{$shop.zhuti}">
		<div class="main">{$shop.name}</div>
	</div>
	<div class="shop_nav n_{$shop.zhuti}">
		<div class="main">
			<li class='gs'>
				<span>店铺商品<em></em></span>
				<div class="gsbox">
					<a href='/ishop{$shop.id}/code/'>源码<em>({$shop.count_code})</em></a><a href='/ishop{$shop.id}/serve/'>服务<em>({$shop.count_serve})</em></a>				</div>
			</li>
			<li>
				<a href="{:sysconf('site_domain')}/ishop{$shop.id}/">首页</a>
			</li>
			{foreach($shop.nav as $v)}
			<li>
				<a href="{$v.link}">{$v.tit}</a>
			</li>
			{/foreach}
			<li>
				<a href="{:sysconf('site_domain')}/ishop{$shop.id}/evaluation">交易评价</a>
			</li>
		</div>
	</div>
</div>
<script type="text/javascript"> 
	$(document).ready(function() {
		$(".shop_nav .gs").hover(
						 function() {
							 $(this).addClass('hzcur');
							 $(this).children("div").show();;
						 },
						 function(){ 
							   $this=$(this);
							   $this.removeClass('hzcur');
							   setTimeout(function(){ 
							   if(!$this.hasClass('hzcur')) {
							   $this.children("div").hide();
							   }
						  },1); 
		});
	});
</script>